package com.zmn.oms.common.dro.redistribute.audit;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.google.common.collect.Lists;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author sunlife
 * @date:2022/5/11 下午5:50
 * description:
 */
@Data
public class ApplyRedistributeDetailDRO implements Serializable {

    private static final long serialVersionUID = 5707793232154205218L;

    @ApiModelProperty("缘由ID")
    private Integer reasonId = 0;

    @ApiModelProperty("改派缘由")
    private String reason = "";

    @ApiModelProperty("改派工程师Id")
    private Long applyEngineerId = 0L;

    @ApiModelProperty("改派工程师")
    private String applyEngineerName = "";

    @ApiModelProperty("改派工程师")
    private String applyEngineerPhone = "";

    @ApiModelProperty("预约时间 - 修改后（如果有)")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date dutyTime ;

    @ApiModelProperty("服务分类ID - 修改后（如果有)")
    private Integer servCategId = 0;

    @ApiModelProperty("二级分类ID - 修改后（如果有)")
    private Integer categId = 0;

    @ApiModelProperty("产品ID - 后台 - 修改后（如果有)")
    private Integer productId = 0;

    @ApiModelProperty("产品名称 - 后台 - 修改后（如果有)")
    private String productName = "";

    @ApiModelProperty("产品信息 - 后台 - 修改后（如果有)")
    private String productInfo = "";

    @ApiModelProperty("区县ID")
    private Integer countyId;

    @ApiModelProperty("街道ID")
    private Integer streetId;

    @ApiModelProperty("经度")
    private Double longitude = 0.0;

    @ApiModelProperty("纬度")
    private Double latitude = 0.0;
    /**
     * @see com.zmn.oms.common.enums.RedistributeAuditStatusEnum
     */
    @ApiModelProperty("审核状态")
    private Integer auditStatus;

    @ApiModelProperty("审核状态名称")
    private String auditStatusName = "";

    @ApiModelProperty("申请备注")
    private String applyRemark = "";

    @ApiModelProperty("申请图片urls，多个逗号分隔")
    private List<String> imageSrcs = Lists.newArrayList();

    @ApiModelProperty("申请视频urls，多个逗号分隔")
    private List<String> videoSrcs = Lists.newArrayList();

    @ApiModelProperty("申请音频urls，多个逗号分隔")
    private List<String> audioSrcs = Lists.newArrayList();
}
